The root element of an XML document contains all other elements and attributes in the document. An XML document may contain only one root element. All other elements in the document must be contained or nested within the root element. The root element of a FactoryTalk View graphic display XML file is the graphic element gfx. It represents a graphic display. The elements contained by the gfx element represent the objects and properties of the display.
In an XML document, the start and end of a gfx or display element shows as follows:
<gfx>
...
</gfx>
All the other parts of the xml file, except the XML declaration, are nested within the gfx element.
The <gfx> element must include a reference to the name of the schema file as follows:
<gfx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Gfx-ME1.xsd">
The schema file used to validate FactoryTalk View Machine Edition graphic display files is Gfx-ME1.xsd. When you install FactoryTalk View Machine Edition, the default location for this file is C:\Program Files\Rockwell Software\RSView Enterprise\Schemas.
FactoryTalk View graphic XML file
Keywords: root element